<link rel="stylesheet" href="<?php echo APP_TEMPLATES_URL;?>/css/public.css" />
<style>
	body,
	html {
		background: #F4F4F4 !important;
	}

	.mui-slider {
		position: relative;
		z-index: 1;
		overflow: hidden;
		width: 100%;
	}
	
	.mui-slider-indicator.mui-segmented-control {
		position: relative;
		bottom: auto;
	}
	
	.mui-segmented-control.mui-segmented-control-inverted {
		width: 100%;
		border: 0;
		border-radius: 0;
	}
	
	.mui-slider-indicator {
		position: absolute;
		bottom: 8px;
		width: 100%;
		text-align: center;
		background: 0 0;
	}
	
	.mui-segmented-control {
		font-size: 15px;
		font-weight: 400;
		position: relative;
		display: table;
		overflow: hidden;
		width: 100%;
		table-layout: fixed;
		border: 1px solid #007aff;
		border-radius: 3px;
		background-color: transparent;
		-webkit-touch-callout: none;
	}
	
	.mui-segmented-control .mui-control-item {
		line-height: 38px;
		display: table-cell;
		overflow: hidden;
		width: 1%;
		-webkit-transition: background-color .1s linear;
		transition: background-color .1s linear;
		text-align: center;
		white-space: nowrap;
		text-overflow: ellipsis;
		color: #007aff;
		border-color: #007aff;
		border-left: 1px solid #007aff;
	}
	
	.mui-segmented-control.mui-segmented-control-inverted .mui-control-item {
		color: inherit;
		border: 0;
	}
	
	a.mui-active {
		border-bottom: 2px solid #BB9E77 !important;
		color: #BB9E77 !important;
	}
</style>
<style>
	.btnccc {
		padding: 5px;
		border: 1px solid #ddd !important;
		float: right;
		min-width: 60px;
		text-align: center;
		margin-left: 10px;
		font-size: 12px;
	}
	
	.btnorg {
		padding: 5px;
		border: 1px solid #c0a062 !important;
		color: #c0a062;
		min-width: 60px;
		float: right;
		margin-left: 10px;
		text-align: center;
		font-size: 12px;
	}
	
	.fenleigoods {
		float: left;
		width: 100%;
		border-bottom: 1px solid #EEEEEE;
		background: #FFFFFF;
	}
	
	.fenleigoods li:nth-child(odd) {
		border-right: 1px solid #EEEEEE;
	}
	
	.fenleigoods li {
		float: left;
		width: 50%;
		text-align: center;
		line-height: 25px;
		padding-bottom: 20px;
		border-top: 1px solid #EEEEEE;
	}
</style>
<!-- 导航 -->
<div class="mui-bar mui-bar-nav bj">
    <a href="<?php echo urlApp('member','index'); ?>">
	<button id="zhuce" class="mui-btn mui-btn-link mui-btn-nav mui-pull-left ">
<!--				<a href="javascript:history.go(-1);">-->
				<img style=" max-width: 70%; vertical-align: middle;" src="<?php echo APP_TEMPLATES_URL;?>/images/back.png" />
				</a>
			</button></a>

	<button class="mui-btn mui-btn-link mui-btn-nav mui-pull-right zys">
				<a href="index.php?op=msg_center">
					<span style="background:#efb33e;border-radius: 20px;color: #000000;font-size: 14px;padding: 1px 2px 2px 2px;min-width: 20px;line-height: 17px;position: absolute;right: 5px;top: 4px;text-align: center;<?php if(!($output['cart_num_con']>0)){echo 'display: none';}?>"><?php echo $output['cart_num_con']; ?></span>
					<img style=" max-width: 70%; vertical-align: middle;" src="<?php echo APP_TEMPLATES_URL;?>/images/m_see.png" />
                </a>
			</button>

	<h1 class="mui-title"><label style="font-size: 22px;vertical-align: middle; line-height: 44px;">我的订单</label></h1>
</div>
<!-- 主体内容 -->
<section>
	<div class="mui-content">
		<div id="slider" class="mui-slider">
		<?php if(empty($output['order_group_list'])){?>
		<!--
                                	作者：569154771@qq.com
                                	时间：2016-04-05
                                	描述：还没有订单
                                -->
			<div style=" text-align: center; height: 400px;">
				<img style="width: auto; margin: 36px auto;" src="<?php echo APP_TEMPLATES_URL;?>/images/kong.png" />
				<h4>您还没有相关的订单</h4>
				<p>可以去看看有哪些想买的</p>
			</div>
			<img style="width: 100%;" src="<?php echo APP_TEMPLATES_URL;?>/images/kong_06.jpg">
			<div>
			<ul class="fenleigoods">
						<?php foreach ($output['goods_list_sl'] as $_value) { ?>
						<li>
							<a href="index.php?act=goods&op=goods_detail&goods_id=<?php echo $_value['goods_id']; ?>"><img style="max-width: 100%;" src="<?php echo cthumb($_value['goods_image'], 265, $_value['store_id']);?>"/></a>
							<div style="padding: 10px 12px; line-height: 22px;">
							<p style="color: #555555; font-size: 14px;"><?php echo $_value['goods_name']; ?></p>
							<div style="color: #c10a1f; font-size: 16px;" class="fl">￥<?php echo $_value['goods_price']; ?></div>
							&nbsp;
							</div>
						</li>
						<?php } ?>					
					</ul>
				
			</div>
		<?php }else{
			$stateArr = array('10'=>'等待买家付款','20'=>'等待卖家发货','30'=>'卖家已发货','40'=>'交易成功','0'=>'交易关闭');
		    foreach($output['order_group_list'] as $orders){
		    	foreach($orders['order_list'] as $order){
		    	 ?>
			<div>
				<table width="100%">
					<tr style="background: #FFFFFF;">
						<td colspan="3">
							<div style="width: 100%; height: 10px; background: #F4F4F4;"></div>
							<div style="padding: 10px;">
								<label style="line-height: 25px; width: 100%;font-size: 14px;">
										<a href="index.php?act=order&op=order_detail&order_id=<?php echo $order['order_id']?>">订单编号：<?php echo $order['order_sn'];?></a>
											<label style="float: right;font-size: 14px;line-height: 25px;"><?php if ($order['if_lock']) { ?>
          <?php if($order['return']['refund_type']==1){?>退款<?php }?><?php if($order['return']['refund_type']==2){?>退货<?php }?><?php if($order['return']['refund_state']==1){?>待审核<?php }else if($order['return']['refund_state']==2){?>中<?php }else if($order['return']['refund_state']==3){?>完成<?php }?>
          <?php }else{ ?><?php echo $stateArr[$order['order_state']]; }?></label>       
								</label>
							</div>
						</td>
					</tr>
					<?php if(!empty($order['goods_list'])){ foreach($order['goods_list'] as $goods){ $n=0;?>
					<tr class="gouwuche" style="background: #F4F4F4;">
						<td width="10" style="padding: 15px 10px 10px 10px;" class="veralignmiddle">
						</td>
						<td width="100" style="padding: 15px 0 10px 0;"><a href="index.php?act=goods&op=goods_detail&goods_id=<?php echo $goods['goods_id']; ?>"><img style=" width: 100px; height: 100px; border: 1px solid #EEEEEE !important;" src="<?php echo cthumb($goods['goods_image'], 265, $goods['store_id']);?>" /></a></td>
						<td style="padding:12px 10px 10px 10px; vertical-align: top;">
							<p id="total2" class="cor666666 ft14 linkh22">
								<?php echo $goods['goods_name'];?>
							</p>
							<p class="corbbbbbb ft13 marge20"><?php echo str_replace("\n", "<br>", $goods['goods_jingle']);?></p>
							<div>
								<span class="ft13">￥<label id="price" class="ft13"><?php echo (float)$goods['goods_price'];?></label></span>
								<span class="fr ft13">x<label class="number text_box2to"><?php echo $goods['goods_num'];?></label></span>
								
							</div>
						</td>
					</tr>
					<?php $n+=$goods['goods_num']; }}?>
					<tr>
						<td colspan="3">
							<ul class="across">
								<li class="side notactive">
									<div class="countone notone">
										<label class="textright">
								<label>共<?php echo $n;?>件商品</label>
										<label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;合计：</label>
										<label class="corc10a1f">￥<?php echo $order['order_amount'];?></label>
										<?php if($order['shiping_fee']>0){?><label>（含运费<?php echo (float)$order['shiping_fee'];?>）</label><?php }?>
										</label>
									</div>
								</li>
							</ul>
						</td>
					</tr>
		           <?php switch($order['order_state']){
		           	case '10':
		           	?>
					<tr>
						<td colspan="3" style="text-align: right;background: #FFFFFF;padding: 15px;">
							<a class="btnorg" href="javascript:pay('<?php echo $order['order_id']?>','<?php echo $order['pay_sn']?>')">付款</a>
							<a class="btnccc" href="javascript:quxiao('<?php echo $order['order_id']?>');">取消订单</a>
						</td>
					</tr>
					<?php break;?>
					<?php case '20':?>
					<tr>
						<td colspan="3" style="text-align: right;background: #FFFFFF;padding: 15px;">
							<?php if (!$order['if_lock']) { ?><a class="btnorg" href="javascript:togo();">提醒发货</a>
							<a class="btnccc" href="index.php?act=order&op=refund&order_id=<?php echo $order['order_id']?>">退款/退货</a><?php }else{?>
							<?php if (is_array($order['refund']) && !empty($order['refund'])) {?>
                            <a  class="btnccc" href="index.php?act=order&op=view_refund&refund_id=<?php echo $order['refund']['refund_id'];?>">退款进度</a>
                            <?php }} ?>
						</td>
					</tr>
					<?php break;?> 
					<?php case '30':?>
					<tr>
						<td colspan="3" style="text-align: right;background: #FFFFFF;padding: 15px;">
							<a class="btnorg" href="javascript:orderReceive('<?php echo $order['order_sn']?>','<?php echo $order['order_id']?>')">确认收货</a>
							<a class="btnccc" href="index.php?act=order&op=search_deliver&order_id=<?php echo $order['order_id']?>&order_sn=<?php echo $order['order_sn']?>">查看物流</a>
							<!-- a class="btnccc" href="#">延长收货</a-->
							<?php if (!$order['if_lock']) { ?><a class="btnccc" href="index.php?act=order&op=return&order_id=<?php echo $order['order_id']?>">退货/退款</a><?php }else{?>
							<?php if(is_array($order['return']) && !empty($order['return'])) {?>
                            <a class="btnccc" href="index.php?act=order&op=view_return&return_id=<?php echo $goods['extend_refund']['refund_id'];?>">退货进度</a>
                            <?php }} ?>
						</td>
					</tr>
					<?php break;?>
					<?php case '40':?>
					<tr>
						<td colspan="3" style="text-align: right;background: #FFFFFF;padding: 15px;">
							<?php if(!$order['evaluation_state']){?><a class="btnorg" href="index.php?act=order&op=goods_comment&order_id=<?php echo $order['order_id']?>">评论</a><?php }else{?><a class="btnorg">评价完成</a><?php }?>
                         <?php if (!$order['if_lock'] && !$order['evaluation_state']) { ?>
							<a class="btnccc" href="index.php?act=order&op=return&order_id=<?php echo $order['order_id']?>">退货/退款</a><?php }else{?>
							<?php if(is_array($order['return']) && !empty($order['return'])) {?>
                            <a class="btnccc" href="index.php?act=order&op=view_return&return_id=<?php echo $goods['extend_refund']['refund_id'];?>">退货进度</a>
                            <?php }} ?>
						</td>
					</tr>
					<?php break;?>
					<?php case '0':?>
					<tr>
						<td colspan="3" style="text-align: right;background: #FFFFFF;padding: 15px;">
						<a class="btnccc" href="javascript:delorder('<?php echo $order['order_id']?>')">删除订单</a>
						</td>
					</tr>
					<?php break;?>
					<?php }?>
				</table>
				<div style="background: #F4F4F4;clear: both;"></div>
			</div>
<?php }}}?>
			<!-- <div>
				<table width="100%">
					<tr style="background: #FFFFFF;">
						<td colspan="3">
							<div style="width: 100%; height: 10px; background: #F4F4F4;"></div>
							<div style="padding: 10px;">
								<label style="line-height: 25px; width: 100%;font-size: 14px;">
											订单编号：3782101
											<label style="float: right;font-size: 14px; line-height: 25px;"></label>
								</label>
							</div>
						</td>
					</tr>
					<tr class="gouwuche" style="background: #F4F4F4;">
						<td width="10" style="padding: 15px 10px 10px 10px;" class="veralignmiddle">
						</td>
						<td width="100" style="padding: 15px 0 10px 0;"><img style=" width: 100px; height: 100px; border: 1px solid #EEEEEE !important;" src="<?php echo APP_TEMPLATES_URL;?>/images/g203.jpg" /></td>
						<td style="padding:12px 10px 10px 10px; vertical-align: top;">
							<p id="total2" class="cor666666 ft14 linkh22">
								测试测试测试测试测试测试测试测试测试测
							</p>
							<p class="corbbbbbb ft13 marge20">金贵牌 999足银</p>
							<div>
								<span class="ft13">￥<label id="price" class="ft13">199</label></span>
								<span style="margin-left: 20px;" class="corefb33e ft13">年收益8%</span>
								<span class="fr ft13">x<label class="number text_box2to">3</label></span>
							</div>
						</td>
					</tr>
					<tr>
						<td colspan="3">
							<ul class="across">
								<li class="side notactive">
									<div class="countone notone">
										<label class="textright">
								<label>共0件商品</label>
										<label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;合计：</label>
										<label class="corc10a1f">￥0</label>
										<label>（含运费0.00）</label>
										</label>
									</div>
								</li>
							</ul>
						</td>
					</tr>
					
				</table>
				<div style="background: #F4F4F4;clear: both;"></div>
			</div>

			<div>
				<table width="100%">
					<tr style="background: #FFFFFF;">
						<td colspan="3">
							<div style="width: 100%; height: 10px; background: #F4F4F4;font-size: 14px;"></div>
							<div style="padding: 10px;">
								<label style="line-height: 25px; width: 100%;">
											订单编号：3782101
											<label style="float: right;font-size: 14px; line-height: 25px;">卖家已发货</label>
								</label>
							</div>
						</td>
					</tr>
					<tr class="gouwuche" style="background: #F4F4F4;">
						<td width="10" style="padding: 15px 10px 10px 10px;" class="veralignmiddle">
						</td>
						<td width="100" style="padding: 15px 0 10px 0;"><img style=" width: 100px; height: 100px; border: 1px solid #EEEEEE !important;" src="<?php echo APP_TEMPLATES_URL;?>/images/g203.jpg" /></td>
						<td style="padding:12px 10px 10px 10px; vertical-align: top;">
							<p id="total2" class="cor666666 ft14 linkh22">
								测试测试测试测试测试测试测试测试测试测
							</p>
							<p class="corbbbbbb ft13 marge20">金贵牌 999足银</p>
							<div>
								<span class="ft13">￥<label id="price" class="ft13">199</label></span>
								<span style="margin-left: 20px;" class="corefb33e ft13">年收益8%</span>
								<span class="fr ft13">x<label class="number text_box2to">3</label></span>
							</div>
						</td>
					</tr>
					<tr>
						<td colspan="3">
							<ul class="across">
								<li class="side notactive">
									<div class="countone notone">
										<label class="textright">
								<label>共0件商品</label>
										<label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;合计：</label>
										<label class="corc10a1f">￥0</label>
										<label>（含运费0.00）</label>
										</label>
									</div>
								</li>
							</ul>
						</td>
					</tr>
					<tr>
						<td colspan="3" style="text-align: right;background: #FFFFFF;padding: 15px;">
							<a class="btnorg" href="#">确认收货</a>
							<a class="btnccc" href="#">查看物流</a>
							<a class="btnccc" href="#">延长收货</a>
							<a class="btnccc" href="#">退货/退款</a>
						</td>
					</tr>
				</table>
				<div style="background: #F4F4F4;clear: both;"></div>
			</div>

			<div>
				<table width="100%">
					<tr style="background: #FFFFFF;">
						<td colspan="3">
							<div style="width: 100%; height: 10px; background: #F4F4F4;font-size: 14px;"></div>
							<div style="padding: 10px;">
								<label style="line-height: 25px; width: 100%;">
											订单编号：3782101
											<label style="float: right;font-size: 14px; line-height: 25px;">交易成功</label>
								</label>
							</div>
						</td>
					</tr>
					<tr class="gouwuche" style="background: #F4F4F4;">
						<td width="10" style="padding: 15px 10px 10px 10px;" class="veralignmiddle">
						</td>
						<td width="100" style="padding: 15px 0 10px 0;"><img style=" width: 100px; height: 100px; border: 1px solid #EEEEEE !important;" src="<?php echo APP_TEMPLATES_URL;?>/images/g203.jpg" /></td>
						<td style="padding:12px 10px 10px 10px; vertical-align: top;">
							<p id="total2" class="cor666666 ft14 linkh22">
								测试测试测试测试测试测试测试测试测试测
							</p>
							<p class="corbbbbbb ft13 marge20">金贵牌 999足银</p>
							<div>
								<span class="ft13">￥<label id="price" class="ft13">199</label></span>
								<span style="margin-left: 20px;" class="corefb33e ft13">年收益8%</span>
								<span class="fr ft13">x<label class="number text_box2to">3</label></span>
							</div>
						</td>
					</tr>
					<tr>
						<td colspan="3">
							<ul class="across">
								<li class="side notactive">
									<div class="countone notone">
										<label class="textright">
								<label>共0件商品</label>
										<label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;合计：</label>
										<label class="corc10a1f">￥0</label>
										<label>（含运费0.00）</label>
										</label>
									</div>
								</li>
							</ul>
						</td>
					</tr>
					<tr>
						<td colspan="3" style="text-align: right;background: #FFFFFF;padding: 15px;">
							<a class="btnorg" href="#">评论</a>
							<a class="btnccc" href="#">删除订单</a>
							<a class="btnccc" href="#">退货/退款</a>
						</td>
					</tr>
				</table>
				<div style="background: #F4F4F4;clear: both;"></div>
			</div>

			

			<div>
				<table width="100%">
					<tr style="background: #FFFFFF;">
						<td colspan="3">
							<div style="width: 100%; height: 10px; background: #F4F4F4;font-size: 14px;"></div>
							<div style="padding: 10px;">
								<label style="line-height: 25px; width: 100%;">
											订单编号：3782101
											<label style="float: right;font-size: 14px; line-height: 25px;">交易关闭</label>
								</label>
							</div>
						</td>
					</tr>
					<tr class="gouwuche" style="background: #F4F4F4;">
						<td width="10" style="padding: 15px 10px 10px 10px;" class="veralignmiddle">
						</td>
						<td width="100" style="padding: 15px 0 10px 0;"><img style=" width: 100px; height: 100px; border: 1px solid #EEEEEE !important;" src="<?php echo APP_TEMPLATES_URL;?>/images/g203.jpg" /></td>
						<td style="padding:12px 10px 10px 10px; vertical-align: top;">
							<p id="total2" class="cor666666 ft14 linkh22">
								测试测试测试测试测试测试测试测试测试测
							</p>
							<p class="corbbbbbb ft13 marge20">金贵牌 999足银</p>
							<div>
								<span class="ft13">￥<label id="price" class="ft13">199</label></span>
								<span style="margin-left: 20px;" class="corefb33e ft13">年收益8%</span>
								<span class="fr ft13">x<label class="number text_box2to">3</label></span>
							</div>
						</td>
					</tr>
					<tr>
						<td colspan="3">
							<ul class="across">
								<li class="side notactive">
									<div class="countone notone">
										<label class="textright">
								<label>共0件商品</label>
										<label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;合计：</label>
										<label class="corc10a1f">￥0</label>
										<label>（含运费0.00）</label>
										</label>
									</div>
								</li>
							</ul>
						</td>
					</tr>
					<tr>
						<td colspan="3" style="text-align: right;background: #FFFFFF;padding: 15px;">
							<a class="btnccc" href="#">删除订单</a>
						</td>
					</tr>
				</table>
				<div style="background: #F4F4F4;clear: both;"></div>
			</div>

			<div>
				<table width="100%">
					<tr style="background: #FFFFFF;">
						<td colspan="3">
							<div style="width: 100%; height: 10px; background: #F4F4F4;"></div>
							<div style="padding: 10px;">
								<label style="line-height: 25px; width: 100%;font-size: 14px;">
											订单编号：3782101
											<label style="float: right;font-size: 14px; line-height: 25px;">等待买家付款</label>
								</label>
							</div>
						</td>
					</tr>
					<tr class="gouwuche" style="background: #F4F4F4;">
						<td width="10" style="padding: 15px 10px 10px 10px;" class="veralignmiddle">
						</td>
						<td width="100" style="padding: 15px 0 10px 0;"><img style=" width: 100px; height: 100px; border: 1px solid #EEEEEE !important;" src="<?php echo APP_TEMPLATES_URL;?>/images/g203.jpg" /></td>
						<td style="padding:12px 10px 10px 10px; vertical-align: top;">
							<p id="total2" class="cor666666 ft14 linkh22">
								测试测试测试测试测试测试测试测试测试测
							</p>
							<p class="corbbbbbb ft13 marge20">金贵牌 999足银</p>
							<div>
								<span class="ft13">￥<label id="price" class="ft13">199</label></span>
								<span style="margin-left: 20px;" class="corefb33e ft13">年收益8%</span>
								<span class="fr ft13">x<label class="number text_box2to">3</label></span>
							</div>
						</td>
					</tr>
					<tr>
						<td colspan="3">
							<ul class="across">
								<li class="side notactive">
									<div class="countone notone">
										<label class="textright">
								<label>共0件商品</label>
										<label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;合计：</label>
										<label class="corc10a1f">￥0</label>
										<label>（含运费0.00）</label>
										</label>
									</div>
								</li>
							</ul>
						</td>
					</tr>
					<tr>
						<td colspan="3" style="text-align: right;background: #FFFFFF;padding: 15px;">
							<a class="btnorg" href="#">付款</a>
							<a class="btnccc" href="#">取消订单</a>
						</td>
					</tr>
				</table>
				<div style="background: #F4F4F4;clear: both;"></div>
			</div>

			<div>
				<table width="100%">
					<tr style="background: #FFFFFF;">
						<td colspan="3">
							<div style="width: 100%; height: 10px; background: #F4F4F4;"></div>
							<div style="padding: 10px;">
								<label style="line-height: 25px; width: 100%;font-size: 14px;">
											订单编号：3782101
											<label style="float: right;font-size: 14px; line-height: 25px;">退款待核审</label>
								</label>
							</div>
						</td>
					</tr>
					<tr class="gouwuche" style="background: #F4F4F4;">
						<td width="10" style="padding: 15px 10px 10px 10px;" class="veralignmiddle">
						</td>
						<td width="100" style="padding: 15px 0 10px 0;"><img style=" width: 100px; height: 100px; border: 1px solid #EEEEEE !important;" src="<?php echo APP_TEMPLATES_URL;?>/images/g203.jpg" /></td>
						<td style="padding:12px 10px 10px 10px; vertical-align: top;">
							<p id="total2" class="cor666666 ft14 linkh22">
								测试测试测试测试测试测试测试测试测试测
							</p>
							<p class="corbbbbbb ft13 marge20">金贵牌 999足银</p>
							<div>
								<span class="ft13">￥<label id="price" class="ft13">199</label></span>
								<span style="margin-left: 20px;" class="corefb33e ft13">年收益8%</span>
								<span class="fr ft13">x<label class="number text_box2to">3</label></span>
							</div>
						</td>
					</tr>
					<tr>
						<td colspan="3">
							<ul class="across">
								<li class="side notactive">
									<div class="countone notone">
										<label class="textright">
								<label>共0件商品</label>
										<label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;合计：</label>
										<label class="corc10a1f">￥0</label>
										<label>（含运费0.00）</label>
										</label>
									</div>
								</li>
							</ul>
						</td>
					</tr>
					<tr>
						<td colspan="3" style="text-align: right;background: #FFFFFF;padding: 15px;">
							<a class="btnccc" href="#">退款进度</a>
						</td>
					</tr>
				</table>
				<div style="background: #F4F4F4;clear: both;"></div>
			</div>

			<div>
				<table width="100%">
					<tr style="background: #FFFFFF;">
						<td colspan="3">
							<div style="width: 100%; height: 10px; background: #F4F4F4;"></div>
							<div style="padding: 10px;">
								<label style="line-height: 25px; width: 100%;font-size: 14px;">
											订单编号：3782101
											<label style="float: right;font-size: 14px; line-height: 25px;">退款中</label>
								</label>
							</div>
						</td>
					</tr>
					<tr class="gouwuche" style="background: #F4F4F4;">
						<td width="10" style="padding: 15px 10px 10px 10px;" class="veralignmiddle">
						</td>
						<td width="100" style="padding: 15px 0 10px 0;"><img style=" width: 100px; height: 100px; border: 1px solid #EEEEEE !important;" src="<?php echo APP_TEMPLATES_URL;?>/images/g203.jpg" /></td>
						<td style="padding:12px 10px 10px 10px; vertical-align: top;">
							<p id="total2" class="cor666666 ft14 linkh22">
								测试测试测试测试测试测试测试测试测试测
							</p>
							<p class="corbbbbbb ft13 marge20">金贵牌 999足银</p>
							<div>
								<span class="ft13">￥<label id="price" class="ft13">199</label></span>
								<span style="margin-left: 20px;" class="corefb33e ft13">年收益8%</span>
								<span class="fr ft13">x<label class="number text_box2to">3</label></span>
							</div>
						</td>
					</tr>
					<tr>
						<td colspan="3">
							<ul class="across">
								<li class="side notactive">
									<div class="countone notone">
										<label class="textright">
								<label>共0件商品</label>
										<label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;合计：</label>
										<label class="corc10a1f">￥0</label>
										<label>（含运费0.00）</label>
										</label>
									</div>
								</li>
							</ul>
						</td>
					</tr>
					<tr>
						<td colspan="3" style="text-align: right;background: #FFFFFF;padding: 15px;">
							<a class="btnccc" href="#">退款进度</a>
						</td>
					</tr>
				</table>
				<div style="background: #F4F4F4;clear: both;"></div>
			</div>
			<div>
				<table width="100%">
					<tr style="background: #FFFFFF;">
						<td colspan="3">
							<div style="width: 100%; height: 10px; background: #F4F4F4;"></div>
							<div style="padding: 10px;">
								<label style="line-height: 25px; width: 100%;font-size: 14px;">
											订单编号：3782101
											<label style="float: right;font-size: 14px; line-height: 25px;">退款成功</label>
								</label>
							</div>
						</td>
					</tr>
					<tr class="gouwuche" style="background: #F4F4F4;">
						<td width="10" style="padding: 15px 10px 10px 10px;" class="veralignmiddle">
						</td>
						<td width="100" style="padding: 15px 0 10px 0;"><img style=" width: 100px; height: 100px; border: 1px solid #EEEEEE !important;" src="<?php echo APP_TEMPLATES_URL;?>/images/g203.jpg" /></td>
						<td style="padding:12px 10px 10px 10px; vertical-align: top;">
							<p id="total2" class="cor666666 ft14 linkh22">
								测试测试测试测试测试测试测试测试测试测
							</p>
							<p class="corbbbbbb ft13 marge20">金贵牌 999足银</p>
							<div>
								<span class="ft13">￥<label id="price" class="ft13">199</label></span>
								<span style="margin-left: 20px;" class="corefb33e ft13">年收益8%</span>
								<span class="fr ft13">x<label class="number text_box2to">3</label></span>
							</div>
						</td>
					</tr>
					<tr>
						<td colspan="3">
							<ul class="across">
								<li class="side notactive">
									<div class="countone notone">
										<label class="textright">
								<label>共0件商品</label>
										<label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;合计：</label>
										<label class="corc10a1f">￥0</label>
										<label>（含运费0.00）</label>
										</label>
									</div>
								</li>
							</ul>
						</td>
					</tr>
					<tr>
						<td colspan="3" style="text-align: right;background: #FFFFFF;padding: 15px;">
							<a class="btnccc" href="#">退款进度</a>
						</td>
					</tr>
				</table>
				<div style="background: #F4F4F4;clear: both;"></div>
			</div>
		</div> -->

	</div>

</section>
<style>
	.mui-popup-backdrop {
		position: fixed;
		z-index: 998;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		-webkit-transition-duration: 400ms;
		transition-duration: 400ms;
		opacity: 0;
		background: rgba(0, 0, 0, .4)
	}
	
	.mui-popup-backdrop.mui-active {
		opacity: 1
	}
	
	.mui-popup {
		position: fixed;
		z-index: 10000;
		top: 50%;
		left: 50%;
		display: none;
		overflow: hidden;
		width: 270px;
		-webkit-transition-property: -webkit-transform, opacity;
		transition-property: transform, opacity;
		-webkit-transform: translate3d(-50%, -50%, 0) scale(1.185);
		transform: translate3d(-50%, -50%, 0) scale(1.185);
		text-align: center;
		opacity: 0;
		color: #000;
		border-radius: 13px
	}
	
	.mui-popup.mui-popup-in {
		display: block;
		-webkit-transition-duration: 400ms;
		transition-duration: 400ms;
		-webkit-transform: translate3d(-50%, -50%, 0) scale(1);
		transform: translate3d(-50%, -50%, 0) scale(1);
		opacity: 1
	}
	
	.mui-popup.mui-popup-out {
		-webkit-transition-duration: 400ms;
		transition-duration: 400ms;
		-webkit-transform: translate3d(-50%, -50%, 0) scale(1);
		transform: translate3d(-50%, -50%, 0) scale(1);
		opacity: 0
	}
	
	.mui-popup-inner {
		position: relative;
		padding: 15px;
		border-radius: 13px 13px 0 0;
		background: rgba(255, 255, 255, .95)
	}
	
	.mui-popup-inner:after {
		position: absolute;
		z-index: 15;
		top: auto;
		right: auto;
		bottom: 0;
		left: 0;
		display: block;
		width: 100%;
		height: 1px;
		content: '';
		-webkit-transform: scaleY(.5);
		transform: scaleY(.5);
		-webkit-transform-origin: 50% 100%;
		transform-origin: 50% 100%;
		background-color: rgba(0, 0, 0, .2)
	}
	
	.mui-popup-title {
		font-size: 18px;
		font-weight: 500;
		text-align: center
	}
	
	.mui-popup-title+.mui-popup-text {
		font-size: 14px;
		margin-top: 5px
	}
	
	.mui-popup-buttons {
		position: relative;
		display: -webkit-box;
		display: -webkit-flex;
		display: flex;
		height: 44px;
		-webkit-box-pack: center;
		-webkit-justify-content: center;
		justify-content: center
	}
	
	.mui-popup-button {
		font-size: 17px;
		line-height: 44px;
		position: relative;
		display: block;
		overflow: hidden;
		box-sizing: border-box;
		width: 100%;
		height: 44px;
		padding: 0 5px;
		cursor: pointer;
		text-align: center;
		white-space: nowrap;
		text-overflow: ellipsis;
		color: #000;
		background: rgba(255, 255, 255, .95);
		-webkit-box-flex: 1
	}
	
	.mui-popup-button:after {
		position: absolute;
		z-index: 15;
		top: 0;
		right: 0;
		bottom: auto;
		left: auto;
		display: block;
		width: 1px;
		height: 100%;
		content: '';
		-webkit-transform: scaleX(.5);
		transform: scaleX(.5);
		-webkit-transform-origin: 100% 50%;
		transform-origin: 100% 50%;
		background-color: rgba(0, 0, 0, .2)
	}
	
	.mui-popup-button:first-child {
		border-radius: 0 0 0 13px
	}
	
	.mui-popup-button:first-child:last-child {
		border-radius: 0 0 13px 13px
	}
	
	.mui-popup-button:last-child {
		border-radius: 0 0 13px
	}
	
	.mui-popup-button:last-child:after {
		display: none
	}
	
	.mui-popup-button.mui-popup-button-bold {
		font-weight: 600
	}
	
	.mui-popup-input input {
		font-size: 14px;
		width: 100%;
		height: 26px;
		margin: 0;
		margin-top: 15px;
		padding: 0 5px;
		border: 1px solid rgba(0, 0, 0, .3);
		border-radius: 0;
		background: #fff
	}
	
	.che {
		display: none;
	}
	
</style>
<div class="mui-popup-backdrop mui-active" style="display: none;"></div>
<div class="mui-popup mui-popup-in" style="display: none;">
	<div class="mui-popup-inner">
		<div class="mui-popup-title">提示</div>
		<div class="mui-popup-text">你是否确定删除该收货地址，确认？</div>
	</div>
	<div class="mui-popup-buttons"><span class="mui-popup-button" onclick="tono();">否</span><span class="mui-popup-button mui-popup-button-bold" id="BtnYes">是</span></div>
</div>

<div class="che" style="position: fixed; top: 20%; margin: 0 auto;z-index: 9999; text-align: center; width: 100%;">
	<img style="max-width:55%" src="<?php echo APP_TEMPLATES_URL;?>/images/2_03.png" />
</div>
<div class="che che2" style="position: fixed; top: 20%; margin: 0 auto;z-index: 9999; text-align: center; width: 100%;">
	<img style="max-width:55%" src="<?php echo APP_TEMPLATES_URL;?>/images/3_03.png" />
</div>
<form id="payform">
</form>

<script>
    function pay(order_id,pay_sn){
        $('#payform').attr("action",'index.php').attr('method','POST');
        $('#payform').append("<input type=\"hidden\" name=\"act\" value=\"pay\" />");
        $('#payform').append("<input type=\"hidden\" name=\"op\" value=\"real_order\" />");
        $('#payform').append("<input type=\"hidden\" name=\"pay_sn\" value=\""+pay_sn+"\" />");
        $('#payform').submit();
    }

	function quxiao(order_id) {
		$(".mui-popup-backdrop").show();
		$(".mui-popup-in").show();
		$(".mui-popup-text").html("你是否确定取消该订单，确认？");
		$("#BtnYes").click(function(){
			var ajaxurl = 'index.php?act=order&op=change_state&state_type=order_cancel&order_id='+order_id;
			$.ajax({
				type: "POST",
				url: ajaxurl,
				data : {
    				order_id : order_id
    			},
    			dataType : "json",
				success: function(rs){
                if(!rs.datas.error) {
                	window.location.href = 'index.php?act=order&op=orderstate';
                } 
			    }
			});
		});
	}

	function tono() {
		$(".mui-popup-backdrop").hide();
		$(".mui-popup-in").hide();
	}

	function toyes() {
		$(".mui-popup-backdrop").hide();
		$(".mui-popup-in").hide();
		$(".che").fadeToggle().delay(1500).fadeToggle();
	}

	function togo() {
		$(".che2").fadeToggle().delay(1500).fadeToggle();
	}

	function delorder(order_id){
        if(confirm("你是否确定删除该订单，确认？")){
        	var ajaxurl = 'index.php?act=order&op=change_state&state_type=order_delete&order_id='+order_id;
			$.ajax({
				type: "POST",
				url: ajaxurl,
				data : {
    				order_id : order_id
    			},
    			dataType : "json",
				success: function(rs){
                if(!rs.datas.error) {
                	window.location.href = 'index.php?act=order&op=orderstate';
                } 
			    }
			});
        }
	}

	function orderReceive(order_sn,order_id){
		 if(confirm("你是否确定收到商品，确认？")){
	        	var ajaxurl = 'index.php?act=order&op=change_state&state_type=order_receive&order_sn='+order_sn+'&order_id='+order_id;
				$.ajax({
					type: "POST",
					url: ajaxurl,
					data : {
	    				order_id : order_id
	    			},
	    			dataType : "json",
					success: function(rs){
	                if(!rs.datas.error) {
	                	window.location.href = 'index.php?act=order&op=orderstate';
	                } 
				    }
				});
	        }
	}
</script>